<html>
    <head>
        <title>Upload Form</title>
        <script type="text/javascript" src="<?=base_url();?>js/jquery-1.3.2.min.js"></script>
        <script language="javascript" type="text/javascript">
            $(document).ready(function(){
                $("#btn_send").click( function (e) {
                    e.preventDefault();
                    $("#frm_image").submit();
                });
            });
        </script>
    </head>
    <body>

        <form
            action="<?=base_url()."index.php/admin/noticias_express/do_upload";?>"
            enctype="multipart/form-data"
            method="post"
            id="frm_image" >
            <input type="file" name="userfile" id="userfile" size="20" />
            <input type="hidden" name="id" value="<?=$id?>" />
            <a href="" id="btn_send">Enviar</a>
        </form>
    </body>
</html>